#include<stdio.h> 
#include "string.h"
int main()
{
 char str[81],*p;
 printf("Input string:");
 gets(str);
 p=str;
 while(*p!='\0')
     p++;
 printf("Length of the string is:%d\n",p-str);
}

